(function ()
{
    "use strict";

    function getValueOfFirstInputOfTextType()
    {
        var firstInputOfTextType = document.querySelector('input[type="text"]');
        var textValue = firstInputOfTextType.value;

        return textValue;
    }

    console.log(getValueOfFirstInputOfTextType());
}());